#include "Rp2PolygonOffsetState.h"

using namespace Rp2;

RP2_IMPLEMENT_INITIALIZE(PolygonOffsetState);
RP2_IMPLEMENT_TERMINATE(PolygonOffsetState);

//---------------------------------------------------------------------------------------------------
PolygonOffsetState::PolygonOffsetState()
{
    FillEnabled = false;
    LineEnabled = false;
    PointEnabled = false;
    Scale = 0.0f;
    Bias = 0.0f;
}
//---------------------------------------------------------------------------------------------------
PolygonOffsetState::~PolygonOffsetState()
{
}
//---------------------------------------------------------------------------------------------------
void PolygonOffsetState::Initialize()
{
	DefaultStates[POLYGONOFFSET] = new PolygonOffsetState;
}
//---------------------------------------------------------------------------------------------------
void PolygonOffsetState::Terminate()
{
	DefaultStates[POLYGONOFFSET] = 0;
}
//---------------------------------------------------------------------------------------------------